package com.syy.api.system.mapper;

import com.syy.common.core.domain.BaseMapperX;
import com.syy.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

@Mapper
public interface AdminUserMapper extends BaseMapperX<SysUser> {
    default List<SysUser> selectListByDeptIds(Collection<Long> deptIds) {
        return selectList(SysUser::getDeptId, deptIds);
    }
}
